package com.jiazhong.shopping.dao;

import com.jiazhong.shopping.model.Eat;

import java.util.List;

/*
   EatDao接口，该接口中封装操作tbl_eat表的方法
 */
public interface EatDao {
    /*
    查询所有菜品
     */
    public List<Eat> queryEats();
    /**
     * 根据菜品编号获得菜品对象
     * @param eatId
     * @return
     */
    public Eat queryEatById(int eatId);
}
